home *** CD-ROM | disk | FTP | other *** search
- XCOMM platform: $XConsortium: linux.cf,v 1.11 95/01/23 18:32:03 kaleb Exp $
- XCOMM platform: $XFree86: xc/config/cf/linux.cf,v 3.22 1995/01/28 15:40:22 dawes Exp $
-
- #define OSName Linux
- #define OSVendor /**/
- #define OSMajorVersion 1
- #define OSMinorVersion 2
- #define OSTeenyVersion 1
-
- /* Fresco configuration */
- #ifndef DefsImplNeedLibs
- #define DefsImplNeedLibs /**/
- #endif
-
- #ifndef UseElfFormat
- #define UseElfFormat YES
- #endif
- #ifdef HasGcc
- #undef HasGcc
- #endif
- #define HasGcc YES
- #define HasGcc2 YES
- #ifndef HasGcc2ForCplusplus
- # define HasGcc2ForCplusplus YES
- #endif
- #define GccUsesGas YES
- #define UseGas YES
- #define GnuCpp YES
- #define HasShadowPasswd NO
- #ifndef HasLibCrypt
- # define HasLibCrypt NO
- #endif
- #define HasPutenv YES
- #define HasShm YES
- #define HasSockets YES
-
- #define AvoidNullMakeCommand YES
- #define StripInstalledPrograms YES
- #define CompressAllFonts YES
- #define Malloc0ReturnsNull YES
- #define NeedConstPrototypes YES
- #define NeedFunctionPrototypes YES
- #define NeedNestedPrototypes YES
- #define NeedVarargsPrototypes YES
- #define NeedWidePrototypes NO
-
- #if UseElfFormat
-
- #ifndef USE_ANSI
- /* Don't use any. */
- #define DefaultCCOptions
- #endif
-
- #define CcCmd gcc
- #define AsCmd as
- #define LdCmd ld -m elf_i386
- #define AsmDefines -D__ELF__
- #define CplusplusCmd g++
- #define LdCombineFlags -r -x
- #define ExtraLibraries -ldl -lm
- #else
- #define CcCmd gcc -b i486-linuxaout
- #define AsCmd /usr/i486-linuxaout/bin/as
- #define LdCmd /usr/i486-linuxaout/bin/ld -m i386linux
- #define AsmDefines -DUSE_GAS
- #define LdCombineFlags -r
- #define ExtraLibraries -lm
- #endif
- #define CppCmd /lib/cpp
- #ifdef USE_BYACC
- #define YaccCmd byacc
- #else
- #define YaccCmd bison -y
- #endif
- #define LexCmd flex -l
- #define LexLib -lfl
- #define PreProcessCmd CcCmd -E
- #define PostIncDir `CcCmd --print-libgcc-file-name | sed 's/libgcc.a/include/'`
- #define OptimizedCDebugFlags -pipe -O2 -m486
- #define StandardDefines -Dlinux -D__i386__ -D_POSIX_SOURCE \
- -D_BSD_SOURCE -D_GNU_SOURCE -DX_LOCALE
- #define XawI18nDefines -DUSE_XWCHAR_STRING -DUSE_XMBTOWC
- #define HasWChar32 YES
- #define StandardCppDefines -traditional StandardDefines
- #define ServerOSDefines XFree86ServerOSDefines -DDDXTIME -DPART_NET
- #define ServerExtraDefines -DGCCUSESGAS XFree86ServerDefines
- #define ServerExtraSysLibs $(CBRT) -lm
- #define ConnectionFlags -DUNIXCONN -DTCPCONN
-
- /* Some of these man page defaults are overriden in the above OS sections */
- #ifndef ManSuffix
- # define ManSuffix 1x
- #endif
- #ifndef ManDir
- # define ManDir $(MANSOURCEPATH)1
- #endif
- #ifndef LibManSuffix
- # define LibManSuffix 3x
- #endif
- #ifndef LibmanDir
- # define LibmanDir $(MANSOURCEPATH)3
- #endif
- #ifndef FileManSuffix
- # define FileManSuffix 5x
- #endif
- #ifndef FileManDir
- # define FileManDir $(MANSOURCEPATH)5
- #endif
-
- #include <lnxLib.rules>
- #include <xfree86.cf>
-